package com.sooth.micro.camunda.converter.bean.event.start;

public enum TimerDefinitionType {

    /**
     * date
     */
    DATE("date"),

    /**
     * cycle
     */
    CYCLE("cycle"),

    /**
     * duration
     */
    DURATION("duration");

    private String value;

    TimerDefinitionType(String value) {
        this.value = value;
    }

    public boolean isEqual(String value) {
        return this.value.equals(value);
    }

    public String value() {
        return this.value;
    }
}
